package com.example.cloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.cloud.entity.User;
import org.apache.ibatis.annotations.Select;

/**
 * @author: create by xiong
 * @date: 2021/5/26
 * @description:
 */
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user where username = #{username}")
    User selectByUserName(String username);

}
